@{
    ViewData["Title"] = "Login";
}

<form asp-action="Login" method="post">
    <div asp-validation-summary="All"></div>
    <div>
        用户名<input type="text" name="username" value="Alan" />
    </div>
    <div>
        密码:<input type="password" name="password" value="admin" />
    </div>
    <div>
        <input type="submit" value="提交" />
    </div>
</form>